<?php
if ( !defined( "IN_OP" ) )
{
    exit( "You can't access this file directly..." );
}
if ( $curruser['acl'] != 255 )
{
    exit();
}
else if ( $curruser['prev_id'] != 0 )
{
    exit();
}
require_once( "class_3d/CheckMode_3d.php" );
$gametype = intval( getvar( "gametype" ) );
$chk = new CheckMode_3d( $curruser['acl'], 3, $gametype );
$chk->checkShow3dPage();
$show3D3S = $chk->show3D3S;
$show5N = getShow35( $gametype );
unset( $chk );
$tbl = $g_gametype_3d[$gametype]['en'];
$tblName = $g_gametype_3d[$gametype]['ch'];
$tpl = new Template2();
$conf = new Config();
$playType = getvar( "pagename" );
if ( $playType != "r3" )
{
    exit();
}
$tpl->load( "main", "rateQuickRecord2_3d.htm" );
if ( $g_conf['language'] != "zh-cn" )
{
    header( "Content-Type: text/html; charset=utf-8" );
}
else
{
    header( "Content-Type: text/html; charset=gb2312" );
}
$tpl->set( array( "gametype" => $gametype, "jslang" => $g_conf['language'] ) );
$tpl->show( "main" );
?>